<?php

require_once "SmartyPaginate.class.php";

require('Smarty.class.php');

/**
 * Description of ACBSmarty
 *
 * @author A.J. Janssen
 */
class ACBSmarty extends Smarty
{   
   function __construct()
   {
        parent::__construct();

        //Directory setup
        $this->setTemplateDir('includes/smarty/templates/');
        $this->setCompileDir('includes/smarty/templates_c/');
        $this->setConfigDir('includes/smarty/configs/');
        $this->setCacheDir('includes/smarty/cache/');

        //Caching
        $this->caching = Smarty::CACHING_OFF;
        
        //Set application name
        $this->assign('app_name', 'ACB Website');
   }
}
?>
